package gameObjects;

public class Cavalry extends Unit{
	public Cavalry(String  player) {
		super(player);
		init();
	}

	@Override
	public String toString() {
		return "Cavalry "+player;
	}

	private void init(){
		switch(this.player){

		case "BLUE":
			imageString= "units\\blue\\cavalry.png";
			break;
		case "ORANGE":
			imageString= "units\\orange\\cavalry.png";
			break;
		default:
			imageString= "units\\blue\\cavalry.png";
			break;
		}

		hp=10;
		damage=2;
		range=4;
		gold = 15;
	}
}
